package com.rc.saas.tenant.vo.invite;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseSearch;

import java.util.Date;

/**
 * Create by Yang on 2021/4/28
 */
public class InviteSettingVo extends BaseSearch {

    private Long inviteSettingId; //ID
    private String inviteName;//活动名称
    private String inviteType;//奖励类型 1赠送优惠券  2返利
    private String gainType = "邀请者"; //赠送对象
    private String gainRatio;//返利比例（%）（以被邀请者充电消费金额为基数）
    private String gainLimit;//返利上限
    private String inviteMemberCount;//邀请人数
    private String gainAmount;//返利总金额
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime; //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;  //结束时间
    private String status;//活动状态 0已结束 1进行中
    /**
     * 优惠券列表字段
     */
    private String ticketDetail;    //奖品明细，优惠券明细
    private String ticketTypeCount; //单笔赠送数量
    private String ticketName;      //优惠券名称
    private String ticketCount;     //发放总量

    public Long getInviteSettingId() {
        return inviteSettingId;
    }

    public void setInviteSettingId(Long inviteSettingId) {
        this.inviteSettingId = inviteSettingId;
    }

    public String getInviteName() {
        return inviteName;
    }

    public void setInviteName(String inviteName) {
        this.inviteName = inviteName;
    }

    public String getInviteType() {
        return inviteType;
    }

    public void setInviteType(String inviteType) {
        this.inviteType = inviteType;
    }

    public String getGainType() {
        return gainType;
    }

    public void setGainType(String gainType) {
        this.gainType = gainType;
    }

    public String getGainRatio() {
        return gainRatio;
    }

    public void setGainRatio(String gainRatio) {
        this.gainRatio = gainRatio;
    }

    public String getGainLimit() {
        return gainLimit;
    }

    public void setGainLimit(String gainLimit) {
        this.gainLimit = gainLimit;
    }

    public String getInviteMemberCount() {
        return inviteMemberCount;
    }

    public void setInviteMemberCount(String inviteMemberCount) {
        this.inviteMemberCount = inviteMemberCount;
    }

    public String getGainAmount() {
        return gainAmount;
    }

    public void setGainAmount(String gainAmount) {
        this.gainAmount = gainAmount;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTicketDetail() {
        return ticketDetail;
    }

    public void setTicketDetail(String ticketDetail) {
        this.ticketDetail = ticketDetail;
    }

    public String getTicketTypeCount() {
        return ticketTypeCount;
    }

    public void setTicketTypeCount(String ticketTypeCount) {
        this.ticketTypeCount = ticketTypeCount;
    }

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public String getTicketCount() {
        return ticketCount;
    }

    public void setTicketCount(String ticketCount) {
        this.ticketCount = ticketCount;
    }

    @Override
    public String toString() {
        return "InviteSettingVo{" +
                "inviteSettingId=" + inviteSettingId +
                ", inviteName='" + inviteName + '\'' +
                ", inviteType='" + inviteType + '\'' +
                ", gainType='" + gainType + '\'' +
                ", gainRatio='" + gainRatio + '\'' +
                ", gainLimit='" + gainLimit + '\'' +
                ", inviteMemberCount='" + inviteMemberCount + '\'' +
                ", gainAmount='" + gainAmount + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", status='" + status + '\'' +
                ", ticketDetail='" + ticketDetail + '\'' +
                ", ticketTypeCount='" + ticketTypeCount + '\'' +
                ", ticketName='" + ticketName + '\'' +
                ", ticketCount='" + ticketCount + '\'' +
                '}';
    }
}
